package com.lp.biz.coupon.model.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-07-22 23:21:20
 */
@Data
public class SpecifyCouponAdd {

    @NotNull(message = "用户不能为空")
    private Integer memberId;

    @NotNull(message = "使用类型不能为空")
    private Integer useType;

    @NotNull(message = "额度不能为空")
    private BigDecimal amount;

    @NotNull(message = "使用限制不能为空")
    private BigDecimal condition;

    @NotNull(message = "有效时间不能为空")
    private Integer validityDays;

}
